home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Amiga Amateur Radio User Group / AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].zip / AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].adf / DisView / PPP < prev    next >
Text File  |  1995-05-17  |  12KB  |  297 lines

  1. ===                                                 DISview [518]
  2. ppp
  3. ===
  4.  
  5.  
  6. The 'ppp' commands are used for Point to Point Protocol
  7. interfaces.
  8.  
  9. This implementation of PPP is designed to be as complete as
  10. possible.  Because of this, the number of options can be rather
  11. daunting.  However, a typical PPP configuration might include the
  12. following commands:
  13.  
  14.         attach asy 0x3f8 4 ppp sl0 4096 576 38400
  15.         #
  16.         ppp sl0 lcp local mru 576
  17.         ppp sl0 lcp remote mru 576
  18.         ppp sl0 lcp local accm 0x000a0000
  19.         ppp sl0 lcp local pfc on
  20.         ppp sl0 lcp local acfc on
  21.         ppp sl0 ipcp local compress tcp 16 1
  22.         ppp sl0 lcp open active
  23.         ppp sl0 ipcp open active
  24.         ppp sl0 idle 120 exit
  25.  
  26.         route add default sl0 158.152.1.65 1
  27.  
  28. _________________________________________________________________
  29. ppp <interface>
  30. _________________________________________________________________
  31. Display the status of the PPP interface.
  32.  
  33.  
  34. _________________________________________________________________
  35. ppp <interface> idle [<seconds> [exit|noexit]]
  36. _________________________________________________________________
  37. Close the PPP connection (which makes the gateway drop the line) 
  38. after the specified number of seconds has elapsed without any 
  39. TCP/IP activity on the line.  
  40.  
  41. LCP messages sent by the gateway and KA9Q are ignored for the 
  42. purpose of deciding whether the line is idle. This deals with the
  43. LCP "pings" which are sent by the gateway for line monitoring 
  44. purposes.
  45.  
  46. The default setting is 0 seconds which disables the idle timer.
  47.  
  48. The 'exit' parameter shuts down KA9Q NET and exits to DOS when 
  49. the idle timeout expires. The default is 'noexit' which 
  50. corresponds to the current behaviour.
  51.  
  52. Disclaimer: 
  53. This command is provided as a convenience only.  It is 
  54. specifically not advertised as a reliable method of disconnecting
  55. links to the gateway. No guarantee is made that this command will
  56. ever cause the line to be dropped. None of Giles Todd, Rundart 
  57. Limited or Demon Internet Services accept any liability for 
  58. excess telephone charges or any other problems which may result 
  59. from a misplaced reliance on the properties of this command. Use
  60. it at your own risk.
  61.  
  62.  
  63.  
  64. The following commands are used for the LCP (Link Control
  65. Protocol) configuration.
  66. _________________________________________________________________
  67. ppp <interface> lcp close
  68. _________________________________________________________________
  69. Shutdown the PPP interface.
  70.  
  71.  
  72. _________________________________________________________________
  73. ppp <interface> lcp local ...
  74. _________________________________________________________________
  75. The 'lcp local' commands control the configuration of the local
  76. side of the link.  If an option is specified, the parameters will
  77. be used as the initial values in configuration requests.  If not
  78. specified, that option will not be requested.
  79.  
  80. For each of these options, the 'allow' parameter will permit the
  81. remote host to include that option in its response, even when the
  82. option is not included in the request.  By default, all options
  83. are allowed.
  84.  
  85.  
  86. _________________________________________________________________
  87. ppp <interface> lcp local accm [ <bitmap> | allow [on | off] ]
  88. _________________________________________________________________
  89. Display or set the ACCM (Async Control Character Map).  The
  90. default is 0xffffffff.
  91.  
  92.  
  93. _________________________________________________________________
  94. ppp <interface> lcp local authenticate [ pap | none | allow
  95.                                                    [on | off] ]
  96. _________________________________________________________________
  97. Display or set the authentication protocol.  The default is none.
  98.  
  99.  
  100. _________________________________________________________________
  101. ppp <interface> lcp local compress address/control
  102.                                   [ on | off | allow [on | off] ]
  103. _________________________________________________________________
  104. Display or set the option to compress the address and control
  105. fields of the PPP HLDC-like header.  This is generally desirable
  106. for slow asynchronous links, and undesirable for fast or
  107. synchronous links.  The default is off.
  108.  
  109.  
  110. _________________________________________________________________
  111. ppp <interface> lcp local compress protocol
  112.                                      [ on | off | allow [on|off]]
  113. _________________________________________________________________
  114. Display or set the option to compress the protocol field of the
  115. PPP HLDC-like header.  This is generally desirable for slow
  116. asynchronous links, and undesirable for fast or synchronous
  117. links.  The default is off.
  118.  
  119.  
  120. _________________________________________________________________
  121. ppp <interface> lcp local magic [ on | off | <value> | allow
  122.                                                   [on|off] ]
  123. _________________________________________________________________
  124. Display or set the initial Magic Number.  The default is off
  125. (zero).
  126.  
  127.  
  128. _________________________________________________________________
  129. ppp <interface> lcp local mru [ <size> | allow [on | off] ]
  130. _________________________________________________________________
  131. Display or set the Maximum Receive Unit.  The default is 1500.
  132.  
  133.  
  134. _________________________________________________________________
  135. ppp <interface> lcp local default
  136. _________________________________________________________________
  137. Reset the options to their default values.
  138.  
  139.  
  140. _________________________________________________________________
  141. ppp <interface> lcp open active | passive
  142. _________________________________________________________________
  143. Wait for the physical layer to come up.  If 'active', initiate
  144. configuration negotiation.  If 'passive', wait for configuration
  145. negotiation from the remote.
  146.  
  147.  
  148. _________________________________________________________________
  149. ppp <interface> lcp remote ...
  150. _________________________________________________________________
  151. The 'lcp remote' commands control the configuration of the remote
  152. side of the link.  The options are identical to those of the
  153. local side.
  154.  
  155. If an option is specified, the parameters will be used in
  156. responses to the remote's configuration requests.
  157.  
  158. If not specified, that option will be accepted if it is allowed.
  159.  
  160. For each of these options, the 'allow' parameter will permit the
  161. remote to specify that option in its request.
  162.  
  163. By default, all options are allowed.
  164.  
  165.  
  166. _________________________________________________________________
  167. ppp <interface> lcp timeout [<seconds>]                Default: 3
  168. _________________________________________________________________
  169. Display or set the interval to wait between configuration or
  170. termination attempts.
  171.  
  172.  
  173. _________________________________________________________________
  174. ppp <interface> lcp try ...
  175. _________________________________________________________________
  176. The 'lcp try' commands are used for the various counters.
  177.  
  178.  
  179. _________________________________________________________________
  180. ppp <interface> lcp try configure [<count>]           Default: 10
  181. _________________________________________________________________
  182. Display or set the number of configuration requests sent.
  183.  
  184.  
  185. _________________________________________________________________
  186. ppp <interface> lcp try failure [<count>]              Default: 5
  187. _________________________________________________________________
  188. Display or set the number of bad configuration requests allowed
  189. from the remote.
  190.  
  191.  
  192. _________________________________________________________________
  193. ppp <interface> lcp try terminate [<count>]            Default: 2
  194. _________________________________________________________________
  195. Display or set the number of termination requests sent before
  196. shutdown.
  197.  
  198.  
  199. _________________________________________________________________
  200. ppp <interface> ipcp ...
  201. _________________________________________________________________
  202. The 'ipcp' commands are used for the Internet Protocol Control
  203. Protocol configuration.
  204.  
  205. The 'close', 'open', 'timeout' and 'try' sub-commands are
  206. identical to the LCP (described above).
  207.  
  208.  
  209. _________________________________________________________________
  210. ppp <interface> ipcp local ...
  211. _________________________________________________________________
  212. The 'ipcp local' commands control the configuration of the local
  213. side of the link.  If an option is specified, the parameters will
  214. be used as the initial values in configuration requests.  If not
  215. specified, that option will not be requested.
  216.  
  217. For each of these options, the 'allow' parameter will permit the
  218. remote to include that option in its response, even when the
  219. option is not included in the request.  By default, all options
  220. are allowed.
  221.  
  222.  
  223. _________________________________________________________________
  224. ppp <interface> ipcp local address [ <hostid> | allow
  225.                                                      [on | off] ]
  226. _________________________________________________________________
  227. Display or set the local address for negotiation purposes.  If an
  228. address of 0 is specified, the other side of the link will supply
  229. the address.  By default, no addresses are negotiated.
  230.  
  231.  
  232. _________________________________________________________________
  233. ppp <interface> ipcp local compress [ tcp <slots>
  234.                              [<flag>] | none | allow [on | off] ]
  235. _________________________________________________________________
  236. Display or set the compression protocol.  The default is none.
  237.  
  238. The tcp <slots> specifies the number of "conversation" slots,
  239. which must be 1 to 255. (This may be limited at compilation time
  240. to a smaller number.)  A good choice is in the range 4 to 16.
  241.  
  242. The tcp <flag> is 0 (don't compress the slot number) or 1 (OK to
  243. compress the slot number).  KA9Q NET can handle compressed slot
  244. numbers, so the default is 1.
  245.  
  246.  
  247. _________________________________________________________________
  248. ppp <interface> ipcp remote ...
  249. _________________________________________________________________
  250. The 'ipcp remote' commands control the configuration of the
  251. remote side of the link.  The options are identical to those of
  252. the local side.  If an option is specified, the parameters will
  253. be used in responses to the remote's configuration requests.  If
  254. not specified, that option will be accepted if it is allowed.
  255. For each of these options, the 'allow' parameter will permit the
  256. remote to specify that option in its request.  By default, all
  257. options are allowed.
  258.  
  259.  
  260. _________________________________________________________________
  261. ppp <iface> pap ...
  262. _________________________________________________________________
  263. The 'pap' commands are used for the Password Authentication
  264. Protocol configuration.
  265.  
  266. The 'timeout' and 'try' sub-commands are identical to the LCP
  267. (described above).  However, the terminate counter is unused.
  268.  
  269.  
  270. _________________________________________________________________
  271. ppp <interface> pap user [ <username> [<password>] ]
  272. _________________________________________________________________
  273. Display or set the <username>.
  274.  
  275. The <password> may also be set, but not displayed.
  276.  
  277. When <username> is specified, but no password is supplied, the
  278. ~/ftpusers file is searched for the password.  When a username-
  279. password pair is unknown or rejected, a session will appear at
  280. the console to prompt for a new username-password.
  281.  
  282.  
  283. _________________________________________________________________
  284. ppp <interface> trace [<flags>]
  285. _________________________________________________________________
  286. Display or set the flags that control the logging of information
  287. during PPP link configuration.
  288.  
  289. The flag values are:
  290.  
  291. 0:  No trace
  292. 1:  Basic trace
  293. 2:  General trace
  294.  
  295. Values greater than 2 are usually not compiled, and are described
  296. in the appropriate source files where they are defined.
  297.